sdvaluecustom module¶
-
class
sd.api.sdvaluecustom.SDValueCustom(APIContext, handle, *args, **kwargs)¶ Bases:
sd.api.sdvalue.SDValueClass used to store the data of a custom type as string
-
getClassName() → str¶ Returns the most specific name of the class this APIObject is
-
getType() → Optional[sd.api.sdtype.SDType]¶ Get the value type as string
-
release() → None¶ Releases an APIObject
-
static
sNew(typeId: str, valueAsString: str) → sd.api.sdvaluecustom.SDValueCustom¶ Create new value from a custom type
- Parameters
typeId – The type name
valueAsString – The string representation of the value that matches the specified type name
-